<div class="wallpaper">
    <div class="full-box gs-filter text-center">
        <div class="login-panel">
            
            <el-avatar 
            src='https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png' 
            :size='140'>
            </el-avatar>
            <div class="login-from" style="margin-top: 30px;">
               <div class="input-field">
                <el-icon class="el-input__icon"><user /></el-icon>
                <input 
                type="text" 
                v-model="username" 
                placeholder="请输入账号" 
                pattern="^[0-9]+$">
               </div>
               <div class="input-field">
                <el-icon class="el-input__icon"><lock /></el-icon>
                <input 
                type="password"
                v-model="password" 
                placeholder="请输入密码">
               </div>

               
            </div>
            <div class="btn" @click='login'>
                <el-icon class="is-loading" v-show='loading'>
                    <loading/>
                </el-icon>
                <span style="margin-bottom: 3px;" v-show='!loading'>登 录</span>
            </div>
           
        </div>
    </div>
</div>

